//
//  CViewController.swift
//  KKViewController_Animation
//
//  Created by liaozhenming on 2016/12/15.
//  Copyright © 2016年 liaozhenming. All rights reserved.
//

import UIKit

class CViewController: UIViewController {

    override func viewDidLoad() {
        super.viewDidLoad()

        // Do any additional setup after loading the view.
        
        let tableView = UITableView.init(frame: CGRect(x:0,y:0,width:self.view.bounds.size.width,height:self.view.bounds.size.height - 100), style: .plain)
        tableView.autoresizingMask = .flexibleHeight
        tableView.backgroundColor = UIColor.green
        self.view.addSubview(tableView)
        
        print("哈哈")
    }
    

    override func didReceiveMemoryWarning() {
        super.didReceiveMemoryWarning()
        // Dispose of any resources that can be recreated.
    }
    
    @IBAction func action_cancel(_ sender: Any) {
        
        self.kk_disPopover()
    }
}
